<?php $messages = $this->flashMessages();?>
<?php if (count($messages)):?>
<ul id="flash-messages">
	<?php foreach ($messages as $message):?>
	<li><?php print $message?></li>
	<?php endforeach; ?>
</ul>
<?php endif;?>